package com.gopay.scheduler.job;

import javax.annotation.Resource;

import org.apache.log4j.Logger;

import com.gopay.remote.cps.cloud.CloudZhtxRemoteService;
import com.gopay.scheduler.GopayBaseJob;

/**
 * @ClassName: ZhtxPersonCertTermNotifyJob
 * @Description: 掌合个人用户身份证有效期到期后台通知
 * @author huangcheng
 * @date 2018年1月10日 下午5:51:20
 */
public class ZhtxPersonCertTermNotifyJob extends GopayBaseJob {
    
    private Logger logger = Logger.getLogger(this.getClass());

    @Resource(name="cloudZhtxRemoteService")
    private CloudZhtxRemoteService cloudZhtxRemoteService;
    
    @Override
    protected void doJobInternal() {
        logger.info("掌合身份证有效期小于90天通知任务-------启动");
        cloudZhtxRemoteService.zhtxPersonCertTermNotify();
        logger.info("掌合身份证有效期小于90天通知任务-------启动完成");
    }

}
